home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 April / EnigmA AMIGA RUN 17 (1997)(G.R. Edizioni)(IT)[!][issue 1997-04][EAR-CD].iso / EARCD / text / misc / abanner.lha / banner.doc < prev   
Text File  |  1996-11-20  |  2KB  |  89 lines

  1.  
  2.                          ABANNER (C) Olov Davidsson 1996
  3.  
  4.  
  5. 1. Introduction
  6. ===============
  7.  
  8. Recently I started studying at the University of Linköping, Sweden, and there
  9. I had my first contact with UNIX machines. Since UNIX in many ways is similar
  10. to the AmigaDOS I tend to like it a lot more than for example the awful MS-DOS.
  11. One command in UNIX that I like although it's not really good for anything is
  12. the 'banner' command. So I thought, why isn't there a 'banner' program for the
  13. Amiga?
  14. I have just started to learn how to program C so I tried to program this
  15. myself. And here it is... a very simple program that anybody could write but
  16. I think it's fun and hopefully someone else will too.
  17.  
  18. 2. What is ABanner?
  19. ===================
  20.  
  21. ABanner writes a banner consisting of # signs from the arguments you send
  22. with it. Unlike the UNIX version ABanner is able to handle small characters
  23. and the Swedish letters Å, Ä and Ö.
  24.  
  25. 3. Installation
  26. ===============
  27.  
  28. Copy 'banner' to your C: directory. Voilà!
  29.  
  30. 4. Usage
  31. ========
  32.  
  33. ABanner takes arguments and then write each one at a new line. If you want
  34. two ore more words at one line, just put quote signs (") around these words.
  35. If an argument exceeds 12 characters (fits into a Shell window on a 640 pixels
  36. wide screen) ABanner will not print the characters after the 12th character.
  37.  
  38. Here's some examples:
  39.  
  40. > banner foo
  41.  
  42.  
  43.     ##
  44.    #  #
  45.    #     ###   ###
  46.   ####  #   # #   #
  47.    #    #   # #   #
  48.    #    #   # #   #
  49.    #     ###   ###
  50.  
  51.  
  52. > banner AMiGA "foo bar"
  53.  
  54.  
  55.   ###  #   #        ###   ###
  56.  #   # ## ##   #   #   # #   #
  57.  #   # ## ##       #     #   #
  58.  ##### # # #  ##   # ### #####
  59.  #   # # # #   #   #   # #   #
  60.  #   # #   #   #   #   # #   #
  61.  #   # #   #  ###   ###  #   #
  62.  
  63.  
  64.  
  65.     ##                    #
  66.    #  #                   #
  67.    #     ###   ###        #      ##
  68.   ####  #   # #   #       ####     #  ####
  69.    #    #   # #   #       #   #  ###  #   #
  70.    #    #   # #   #       #   # #  #  #
  71.    #     ###   ###        ####   ## # #
  72.  
  73.  
  74. 5. Then what jerk programmed ABanner?
  75. =====================================
  76.  
  77. I did! Well, I know, it isn't that much programming, but I'm only a beginner,
  78. alright? If you're interested in the C source (although I doubt it) or if you
  79. wanna contact me send an e-mail to:
  80.  
  81.     t96oloda@und.ida.liu.se
  82.  
  83. or if you wanna use the snailish way of mailing me:
  84.  
  85.     Olov Davidsson
  86.     Björnkärrsgatan 9B.22
  87.     S-584 36 Linköping
  88.     SWEDEN
  89.